package com.yanyu.space.codegen.bean.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yanyu.space.common.core.bean.db.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 数据库配置
 *
 * @author yanyu
 */
@Data
@TableName("gen_ds_setting")
@ApiModel(value = "DsSetting对象", description = "数据库配置")
public class DsSetting extends BaseEntity {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "数据库真实名字")
    private String name;

    @ApiModelProperty(value = "数据库名字昵称")
    private String nickName;

    @ApiModelProperty(value = "驱动")
    private String driver;

    @ApiModelProperty(value = "连接地址")
    private String url;

    @ApiModelProperty(value = "连接用户名")
    private String username;

    @ApiModelProperty(value = "连接密码")
    private String password;

    @ApiModelProperty(value = "部门id")
    private String dsDept;

}
